/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.webproject.jsp.common.model;

/**
 *
 * @author jeong
 */
public class BaseModel {
    
    protected String regUserId;
    protected String regDate;
    protected String updUserId;
    protected String updDate;

    public String getRegDate() {
        return regDate;
    }

    public String getRegUserId() {
        return regUserId;
    }

    public String getUpdDate() {
        return updDate;
    }

    public String getUpdUserId() {
        return updUserId;
    }

    public void setRegDate(String regDate) {
        this.regDate = regDate;
    }

    public void setRegUserId(String regUserId) {
        this.regUserId = regUserId;
    }

    public void setUpdDate(String updDate) {
        this.updDate = updDate;
    }

    public void setUpdUserId(String updUserId) {
        this.updUserId = updUserId;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final BaseModel other = (BaseModel) obj;
        if ((this.regUserId == null) ? (other.regUserId != null) : !this.regUserId.equals(other.regUserId)) {
            return false;
        }
        if ((this.regDate == null) ? (other.regDate != null) : !this.regDate.equals(other.regDate)) {
            return false;
        }
        if ((this.updUserId == null) ? (other.updUserId != null) : !this.updUserId.equals(other.updUserId)) {
            return false;
        }
        if ((this.updDate == null) ? (other.updDate != null) : !this.updDate.equals(other.updDate)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 17 * hash + (this.regUserId != null ? this.regUserId.hashCode() : 0);
        hash = 17 * hash + (this.regDate != null ? this.regDate.hashCode() : 0);
        hash = 17 * hash + (this.updUserId != null ? this.updUserId.hashCode() : 0);
        hash = 17 * hash + (this.updDate != null ? this.updDate.hashCode() : 0);
        return hash;
    }

    @Override
    public String toString() {
        return "BaseModel{" + "regUserId=" + regUserId + ", regDate=" + regDate + ", updUserId=" + updUserId + ", updDate=" + updDate + '}';
    }
    
    
    
}
